package cn.xiaoyu.su.component;

import cn.xiaoyu.su.vo.PayInfoVO;

public interface PayStrategy {

    /**
     * 统一下单
     * @param payInfoVO
     * @return
     */
    String unifiedOrder(PayInfoVO payInfoVO);

    /**
     * 退款
     * @param payInfoVO
     * @return
     */
    default String refund(PayInfoVO payInfoVO){return "";}

    /**
     * 查询支付状态
     * @param payInfoVO
     * @return
     */
    default String queryPayStatus(PayInfoVO payInfoVO){return "";}

    /**
     * 关单
     * @param payInfoVO
     * @return
     */
    default String closeOrder(PayInfoVO payInfoVO){return "";}
}
